package com.ruoyi.cencat.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库记录对象 cencat_record_in
 * 
 * @author cencat
 * @date 2024-05-21
 */
public class CencatRecordIn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录ID */
    private Long recordId;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 货物ID */
    @Excel(name = "货物ID")
    private Long goodId;

    /** 数量 */
    @Excel(name = "数量")
    private Long recordNumber;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private String recordPerson;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long repoId;

    public void setRecordId(Long recordId) 
    {
        this.recordId = recordId;
    }

    public Long getRecordId() 
    {
        return recordId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setGoodId(Long goodId) 
    {
        this.goodId = goodId;
    }

    public Long getGoodId() 
    {
        return goodId;
    }
    public void setRecordNumber(Long recordNumber) 
    {
        this.recordNumber = recordNumber;
    }

    public Long getRecordNumber() 
    {
        return recordNumber;
    }
    public void setRecordTime(Date recordTime) 
    {
        this.recordTime = recordTime;
    }

    public Date getRecordTime() 
    {
        return recordTime;
    }
    public void setRecordPerson(String recordPerson) 
    {
        this.recordPerson = recordPerson;
    }

    public String getRecordPerson() 
    {
        return recordPerson;
    }
    public void setRepoId(Long repoId) 
    {
        this.repoId = repoId;
    }

    public Long getRepoId() 
    {
        return repoId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("supplierId", getSupplierId())
            .append("goodId", getGoodId())
            .append("recordNumber", getRecordNumber())
            .append("recordTime", getRecordTime())
            .append("recordPerson", getRecordPerson())
            .append("repoId", getRepoId())
            .toString();
    }
}
